package com.mall.product.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

@Data
@Schema(description = "商品分类树节点")
public class CategoryTreeNodeVO implements Serializable {
    
    @Schema(description = "分类ID")
    private Long id;

    @Schema(description = "分类名称")
    private String name;
    
    @Schema(description = "父分类ID")
    private Long parentId;
    
    @Schema(description = "分类层级")
    private Integer level;
    
    @Schema(description = "排序")
    private Integer sort;
    
    @Schema(description = "分类状态 1:正常, 0:禁用")
    private Integer status;
    
    @Schema(description = "子分类列表")
    private List<CategoryTreeNodeVO> children;
}